'use strict';

// 数据库配置
module.exports = {
  development: {
    dialect: 'mysql',
    host: '192.168.119.17',
    port: 3306,
    database: 'egg_server_template',
    username: 'root',
    password: 'ADMIN@123#admin',
    define: {
      underscored: true,
      timestamps: true,
      createdAt: 'create_time',
      updatedAt: 'update_time',
    },
  },
  test: {
    dialect: 'mysql',
    host: 'localhost',
    port: 3306,
    database: 'egg_admin_test',
    username: 'root',
    password: 'password',
    define: {
      underscored: true,
      timestamps: true,
      createdAt: 'create_time',
      updatedAt: 'update_time',
    },
  },
  production: {
    dialect: 'mysql',
    host: '192.168.119.17',
    port: 3306,
    database: 'egg_server_template',
    username: 'root',
    password: 'ADMIN@123#admin',
    define: {
      underscored: true,
      timestamps: true,
      createdAt: 'create_time',
      updatedAt: 'update_time',
    },
  },
};
